package com.jctrip.hotel.source.model.elong.resp.offline;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author: zxy
 * @CreateTime: 2023-09-19 17:22
 * @Description:
 */
@Data
public class ELongQueryRateResp implements Serializable {
    @JsonProperty("Rates")
    private List<Rate> rates;

    @Data
    public static class Rate implements Serializable {
        @JsonProperty("HotelID")
        private String hotelId;

        @JsonProperty("RoomTypeId")
        private String roomTypeId;
        
        @JsonProperty("RateplanId")
        private Integer ratePlanId;

        @JsonProperty("HotelCode")
        private String hotelCode;

        @JsonProperty("StartDate")
        @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
        private Date startDate;

        @JsonProperty("EndDate")
        @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
        private Date endDate;

        @JsonProperty("Status")
        private Boolean status;

        @JsonProperty("Member")
        private BigDecimal member;

        @JsonProperty("Weekend")
        private BigDecimal weekend;

        @JsonProperty("MemberCost")
        private BigDecimal memberCost;

        @JsonProperty("WeekendCost")
        private BigDecimal weekendCost;

        @JsonProperty("AddBed")
        private BigDecimal addBed;

        @JsonProperty("PriceID")
        private Long priceId;

        @JsonProperty("CurrencyCode")
        private String currencyCode;

        @JsonProperty("InvoiceMode")
        private String invoiceMode;

        @JsonProperty("IsPriceLimit")
        private Boolean isPriceLimit;

        @JsonProperty("PriceLimitedType")
        private Integer priceLimitedType;
    }
}
